<!DOCTYPE html>
<html>
<head>
 <include file="public:header" />
 <title>排行榜</title>
 <link rel="stylesheet" href="__PUBLIC__/css/show.css">
</head>
<body >
{:TOP_BACK('排行榜')}
<include file="public:logo" />
<div class="uu_spacing"></div>

<div class="ranknav font14">
  <a class="navl {$times=='day' ? 'select' : ''}" href="{:query_url('',array('times'=>'day','title'=>'今天'))}">今天</a>
  <a class="navl {$times=='week' ? 'select' : ''}" href="{:query_url('',array('times'=>'week','title'=>'本周'))}">本周</a>
  <a class="navl {$times=='lastweek' ? 'select' : ''}" href="{:query_url('',array('times'=>'lastweek','title'=>'上周'))}">上周</a>
  <a class="navl {$times=='month' ? 'select' : ''}" href="{:query_url('',array('times'=>'month','title'=>'本月'))}">本月</a>
</div>
<div class="uu_spacing"></div>

<ytata:rank listname="rank" type="answer" time="$times" limit="5" />
<!--没有排行数据的情况-->
<div class="rank">

  <div class="titl">
  	<div class="tit font16">助人之星</div>
	<div class="date">{$Think.get.title|default='今天'}</div>
  </div>
  <volist name="rank" id="li">
    <div class="rlis">
      <div class="avatar"><img src="{$li.user.avatar}"></div>
      <div class="data">
      <div class="n font12">回答+{$li.num}</div>{$li.user.nickname}</div>
      <div class="rnum font12 p{$i}">{$i}</div>
    </div>
  </volist>
  <empty name="rank"><div class="rempty font13">^^榜单还未出炉^^</div></empty>
</div>

<div class="uu_spacing"></div>

<ytata:rank listname="rank" type="praise" time="$times" limit="5" />
<div class="rank">

  <div class="titl">
  	<div class="tit font16">好评之星</div>
	  <div class="date">{$Think.get.title|default='今天'}</div>
  </div>
  
  <volist name="rank" id="li">
    <div class="rlis">
      <div class="avatar"><img src="{$li.user.avatar}"></div>
      <div class="data">
        <div class="n font12">点赞+{$li.num}</div>{$li.user.nickname}</div>
      <div class="rnum font12 p{$i}">{$i}</div>
    </div>
  </volist>
  <empty name="rank"><div class="rempty font13">^^榜单还未出炉^^</div></empty>
</div>


<div class="uu_spacing"></div>

<ytata:rank listname="rank" type="optimal" time="$times" limit="5" />
<div class="rank">

  <div class="titl">
  	<div class="tit font16">知识达人</div>
	<div class="date">{$Think.get.title|default='今天'}</div>
  </div>
  
  <volist name="rank" id="li">
    <div class="rlis">
      <div class="avatar"><img src="{$li.user.avatar}"></div>
      <div class="data">
        <div class="n font12">采纳+{$li.num}</div>{$li.user.nickname}</div>
      <div class="rnum font12 p{$i}">{$i}</div>
    </div>
  </volist>
<empty name="rank"><div class="rempty font13">^^榜单还未出炉^^</div></empty>
</div>

<div class="uu_spacing"></div>

<ytata:rank listname="rank" type="gold" time="$times" limit="5" />
<div class="rank">

  <div class="titl">
  	<div class="tit font16">财富榜</div>
	  <div class="date">{$Think.get.title|default='今天'}</div>
  </div>
  
  <volist name="rank" id="li">
    <div class="rlis">
      <div class="avatar"><img src="{$li.user.avatar}"></div>
      <div class="data">
        <div class="n font12">积分+{$li.num}</div>{$li.user.nickname}</div>
      <div class="rnum font12 p{$i}">{$i}</div>
    </div>
  </volist>
  <empty name="rank"><div class="rempty font13">^^榜单还未出炉^^</div></empty>
</div>

<include file="public:foot" />

</body>
 
</html>